작은 dp [ZOJ-4027] Sequence Swapping(2018 절강성 경기-D 문제) The first line of the input contains an integer T, indicating the number of test cases. The first line contains an integer n(1<=n<=10^3), indicating the length of the sequence. For each test case output one line containi... 작은 dp
[ZOJ-4027] Sequence Swapping(2018 절강성 경기-D 문제) The first line of the input contains an integer T, indicating the number of test cases. The first line contains an integer n(1<=n<=10^3), indicating the length of the sequence. For each test case output one line containi... 작은 dp